package com.linb.pan.lock.zookeeper;

import com.linb.pan.lock.core.LockConstants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "com.linb.pan.lock.zookeeper")
public class ZookeeperLockProperties {

    private String host = "192.168.150.88:2181";

    /**
     * zk分布式锁的根路径
     */
    private String rootPath = LockConstants.B_PAN_LOCK_PATH;

}
